#ifndef SEAMAP_GLOBAL_H
#define SEAMAP_GLOBAL_H

#include <PSDFCore/PSDFCore.h>
using namespace boost;

struct LevelColor
{
	int level;
	unsigned char r, g, b, a;
};
struct GisColor
{
	unsigned char r, g, b, a;
};
enum LabelMode
{
	ONLY_SHOW_CHINESE_LABELS,
	SHOW_ALL_LABELS
};

Node* loadShpFileAndSetColor(const string& shpFile, float r, float g, float b, float a);

void findEveryGeode(Node* node, vector<Geode*>& geodeList);
void setColorToOneGeode(Geode* geode, float r, float g, float b, float a);
void setColorToEveryGeode(vector<Geode*>& geodeList, float r, float g, float b, float a);
void reprojectOneGeode(Geode* geode);
void reprojectEveryGeode(vector<Geode*>& geodeList, const unsigned char projectMode);


void ogr2ogr(int argc, char** argv);


#endif // SEAMAP_GLOBAL_H
